/* Generated by the NeXT Project Builder 
   NOTE: Do NOT change this file -- Project Builder maintains it.
*/

// $Id: Gnuplot_main.m,v 1.1.1.1 1993/03/18 03:33:40 davis Exp $

#import <appkit/Application.h>
#import <stdlib.h>
#import <strings.h>

extern pmain (int argc, char *argv[]);

void main(int argc, char *argv[]) {

    if ((argc > 1) && !strcmp (argv[1], "-c")) {
	pmain (argc - 1, &(argv[1]));
	exit(0);
    }

    [Application new];
    if ([NXApp loadNibSection:"Gnuplot.nib" owner:NXApp withNames:NO])
	    [NXApp run];
	    
    [NXApp free];
    exit(0);
}
